
(function($) {
	$.getUrl={
		pageUrl:function(pageName,urlName){
			var pageUrls = {
				"loginYs":{
						"wdyy":"/html/ysd/wdyy/order.html",
						"yyjl":"/html/ysd/yyjl/yyjl.html",
						"yjl":"/html/ysd/yyjl/yyjl.html",
						 "qyjm":"/html/ysd/qyjm/qyjm_index.html",
						 
						},
				"beforLogin":{
                	"login": "/html/ysd/login/login.html"
					,"register": "/html/ysd/login/register.html"
					,"forgetPwd": "/html/ysd/login/forgetPwd.html"
                    ,"read": "/html/common/read.html"
				}
				,"index":{
					"index": "/html/ysd/navigation/index.html"
				}
				,"selfCenter":{
					"wdhz": "/html/ysd/qyjm/qyjm_index.html"
					,"wdxx": "/html/onlineConsult/doc_wz.html"
                    ,"yxxgj": "/html/healthapp/medicalTools/yyjs.html"
                    ,"sz": "/html/ysd/navigation/center/userSetting.html"
				}
				,"userSetting":{
					"xgmm": "/html/ysd/login/userChangePass.html"
					,"yjfk": "/html/ysd/navigation/center/userAdvice.html"
                    ,"wycs": "/html/ysd/navigation/center/userAboutUs.html"
				},
				"myOrder":{
						"wdyy": '/html/common/myOrder/wdyy.html',
						"hosDetail":'/html/common/myOrder/hosDetail.html',
						"ksDetail":'/html/common/myOrder/ksDetail.html',
						"docDetail":'/html/common/myOrder/ysDetail.html',
						"orderInfo":"/html/common/myOrder/yyInfo.html",
						"orderDetail":"/html/common/myOrder/yyDetail.html",
						"index":"/html/common/myOrder/yygh.html",

				},
				"jkda":{
					"wycs": "/html/ysd/navigation/center/userAboutUs.html",
					"jzjl":"/html/common/jkda/jzjl/jzjl.html",
					
				},
				"signService" : {
					"qyqr" : "/html/common/signService/doc_qyqr.html",
					"patientHomepage" : "/html/ysd/zyhz/hzzym.html",
					"collectResidents":"/html/ysd/qyjm/collectResidents.html",
					"qyjm" : "/html/ysd/qyjm/qyjm_index.html",
					"tdjj" : "/html/common/signService/tdjj.html",
					"wdqyfw" : "/html/common/signService/doc_wdqyfw.html",
					"wcfw" : "/html/common/signService/doc_wcfw.html",
					"lcfwpj" : "/html/common/signService/doc_lcfwpj.html"
				},
				"hzzym" : {
					"yygh":"/html/common/myOrder/yygh.html",
					"qyls" : "/html/common/signService/doc_qyls.html"
				},
				
			};
			if(urlName)
				return pageUrls[pageName][urlName];
			else
				return pageUrls[pageName];
		}
	}
})(jQuery);